package com.kh.first.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.kh.first.utils.Len;

import lombok.Data;

@Data
public class ComputerApplyPojo {

	private Long id;

	@Len(2)
	private String applyUserName;
	private String applyUserSignImgUrl;
	private String applyUserId;
	@Len(20)
	private String applyUserDepartment;
	@Len(20)
	private String applyUserDepartmentId;

	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date applyTime;
	private String applyUserVacancy;// 职务
	private String applyReason;
	// 手写
	private String apply4UserDuty;// 岗位分类
	@Len(-1) // 255应该也够了
	private String softStrs;// 安装软件列表
	private Integer hasOldDevice;// 是否有旧电脑

	private String oldDeviceHandleWay;// 旧电脑用途
	private String applyUserLeaderOpinon;// 申请部门领导意见

	private String ALSignImgUrl;// 申请人领导签字
	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date ALSignDate;
	private Integer chooseNum;// 选择数量
	private String chooseRemark;// 选择备注

	// ------------------------------------255够了
	private String reviewStaffOpinon;// 审核员意见
	private String reviewStaffSignImgUrl;// 审核员签字
	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date reviewStaffSignDate;

	private String ITLeaderOpinon;// 信息中心主任意见
	private String ITLeaderSignImgUrl;// 信息中心主任签字
	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date ITLeaderSignDate;

	private String procurementManagerOpinon;// 采购经理意见
	private String procurementManagerSignImgUrl;// 采购经理签字
	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date procurementManagerSignDate;

	private String procurementLeaderOpinon;//
	private String procurementLeaderSignImgUrl;//
	private @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date procurementLeaderSignDate;
	// ------------------------------------
	private String processId;

	private Integer status;// 申请表状态,-1,1,2
	// -1 未签名，1，进行中，2：完成
}
